Skip to content

MWLServer now supports C-ECHO - #122

Merged
carlosmartinez merged 1 commit into
mainfrom
feat/c-echo-for-mwl
Jun 4, 2026
Merged

MWLServer now supports C-ECHO#122
carlosmartinez merged 1 commit into
mainfrom
feat/c-echo-for-mwl

Conversation

@carlosmartinez

Copy link
Copy Markdown
Contributor

MWLServer: registers a C-ECHO handler and adds Verification to its supported presentation contexts.

PACSServer: adds Verification to its supported presentation contexts. A C-ECHO handler was already registered, but without the Verification context the association would be rejected before reaching it. pynetdicom's Verification Service Examples shows that an SCP must explicitly call ae.add_supported_context(Verification).

Jira link

https://nhsd-jira.digital.nhs.uk/browse/DTOSS-13052

`MWLServer`: registers a C-ECHO handler and adds `Verification` to its supported presentation contexts.

`PACSServer`: adds `Verification` to its supported presentation contexts. A C-ECHO handler was already registered, but without the Verification context the association would be rejected before reaching it. pynetdicom's [Verification Service Examples](https://pydicom.github.io/pynetdicom/stable/examples/verification.html) shows that an SCP must explicitly call `ae.add_supported_context(Verification)`.
@carlosmartinez
carlosmartinez requested a review from steventux June 3, 2026 09:25
Comment thread src/server.py
DigitalMammographyXRayImageStorageForProcessing, # type: ignore[attr-defined]
ModalityPerformedProcedureStep, # type: ignore[attr-defined]
ModalityWorklistInformationFind, # type: ignore[attr-defined]
Verification, # type: ignore[attr-defined]

@steventux steventux Jun 4, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not an omission in this PR but are we missing this in the PACS echo?
https://github.com/NHSDigital/manage-breast-screening-gateway/blob/main/src/server.py#L70-L77

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are. have included the fix in this PR.

@steventux steventux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📢

@carlosmartinez
carlosmartinez merged commit dbf13c4 into main Jun 4, 2026
9 checks passed
@carlosmartinez
carlosmartinez deleted the feat/c-echo-for-mwl branch June 4, 2026 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants